﻿namespace Sidvall.IdentityManager.Security.Entities
{
	public partial class AspNetUserClaimsCollectionItem
	{
		public void Add(string userId, string claimType, string claimValue, Sidvall.Data.DataRowState dataRowState)
		{
			var item = new AspNetUserClaims()
			{
				UserId = userId,
				ClaimType = claimType,
				ClaimValue = claimValue,
				DataRowContext = new Sidvall.Data.DataRowContext(dataRowState),
			};
			Add(item);
		}
	}
}